﻿#if UNITY_EDITOR
using System.Xml.Serialization;
/// <summary>
/// Project导出编辑器代码
/// </summary>
[XmlRoot("ESF_Xml_ExtractCode")]
public class ESF_Xml_ExtractCode : AbsESF_Xml
{    
    /// <summary>
    /// 导出代码
    /// </summary>
    [XmlElement("导出代码")]
    [ESF_GUIOperation()]
    public ESF_Xml_ExtractCode_Item[] items;
}

/// <summary>
/// 导出代码子项
/// </summary>
[XmlRoot("ESF_Xml_ExtractCode_Item")]
public class ESF_Xml_ExtractCode_Item
{
    [XmlElement("替换标记")]
    [ESF_GUIOperation()]
    public string replaceSign;

    /// <summary>
    /// 源码文件夹
    /// </summary>
    [XmlElement("源码文件夹")]
    [ESF_GUIOperation()]
    [ESF_PathSelect(enESF_PathSelectCatalogClassify.InternalAssets, enESF_PathSelectAssetClassify.Folder)]
    public string srcFolder;

    /// <summary>
    /// 目标文件夹
    /// </summary>
    [XmlElement("目标文件夹")]
    [ESF_GUIOperation()]
    [ESF_PathSelect(enESF_PathSelectCatalogClassify.OuterAssets, enESF_PathSelectAssetClassify.Folder)]
    public string targetFolder;
}
#endif

